.container {
    margin: 20px auto;
    width: 1000px;
    height: 300px;
    overflow: hidden;
    background: #EEE;
}

.container img {
    display: block;
    width: 100%;
    height: 100%;
}